// ex4_7.cpp
#include <iostream>
#include <cstring>

int main()
{
    using namespace std;
    struct Pizza
    {
        char company_name[30];
        float diameter;
        float weight;
    };

    Pizza piza;
    cout << "Enter Pizza company name: ";
    cin.getline(piza.company_name, 30);
    piza.company_name[strlen(piza.company_name)] = '\0';
    cout << "Enter Pizza diameter: ";
    cin >> piza.diameter;
    cout << "Enter Pizza weight: ";
    cin >> piza.weight;

    cout << "Pizza information is: \n";
    cout << " Pizza company name is: " << piza.company_name << endl;
    cout << " Pizza weight is: " << piza.diameter << endl;
    cout << " Pizza calori is: " << piza.weight << endl;

    return 0;
}
